{# Copyright 2019
   Author: Vivek Kumar<vvksindia@gmail.com>

   Copying and distribution of this file, with or without modification,
   are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
   This file is offered as-is, without any warranty.
#}

{% extends "include/base.html.twig" %}

{% block styles %}
  {{ parent() }}
  <link rel="stylesheet" href="css/spasht.css"/>
{% endblock %}

{% block content %}
  {% include 'agent_spasht_ui_tabs.html.twig' %}
{% endblock %}

{% block foot %}
  {{ parent() }}
  <script src="scripts/jquery.dataTables.min.js" type="text/javascript"></script>
  <script src="scripts/jquery.dataTables.editable.js" type="text/javascript"></script>
  <script src="scripts/jquery.dataTables.select.js" type="text/javascript"></script>
  <script src="scripts/jquery.jeditable.js" type="text/javascript"></script>
  <script src="scripts/jquery.validate.js" type="text/javascript"></script>
  <script src="scripts/jquery.cookie.js" type="text/javascript"></script>
  <script src="scripts/jquery-ui.js" type="text/javascript"></script>

  <script language="javascript">
  {% for table in tables %}
    {% include "spasht_histTable.js.twig" with table %}
    createTable{{ table.type }}();
  {% endfor %}
  </script>

  {% include 'agent_spasht.js.twig' %}
{% endblock %}
